package org.jeecg.config;

import org.activiti.spring.SpringProcessEngineConfiguration;
import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer;
import org.springframework.stereotype.Component;

@Component
public class ActivitiProcessEngineConfigurationConfigurer implements ProcessEngineConfigurationConfigurer {

    /**
     * <p>Description: </p>
     * @author Liu Wenjie
     * @date 2018年2月12日 上午11:09:19
     * @param processEngineConfiguration
     * @see org.activiti.spring.boot.ProcessEngineConfigurationConfigurer#configure(org.activiti.spring.SpringProcessEngineConfiguration)
     */
    @Override
    public void configure(SpringProcessEngineConfiguration processEngineConfiguration) {
//        processEngineConfiguration.setDatabaseTablePrefix("activiti.");
//        processEngineConfiguration.setTablePrefixIsSchema(true);
//        processEngineConfiguration.setDatabaseSchemaUpdate("no");
    }

}